package com.alks.function.data.dto.stockdept.pcfactorystockwork;

import com.alks.entity.deserializer.LocalDateTimeDeserialize;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.time.LocalDateTime;

/**
 * @author: chen
 * @date: 2024/11/12
 * @description: 成品收发明细DTO
 */
@Data
@ApiModel(value = "成品收发明细DTO")
public class FinishRecHisDto {

    private Long id;

    @ApiModelProperty(value = "类型")
    private String collectType;

    @ApiModelProperty(value = "收发日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime collectTime;

    @ApiModelProperty(value = "缴库单位")
    private String line;

    @ApiModelProperty(value = "配码")
    private Integer groupNo;

    @ApiModelProperty(value = "PO")
    private String poNo;

    @ApiModelProperty(value = "装箱方式")
    private String packType;

    @ApiModelProperty(value = "箱数")
    private Integer caseQty;

    @ApiModelProperty(value = "双数")
    private Integer pairQty;

    @ApiModelProperty(value = "发票号")
    private String invoiceNo;

    @ApiModelProperty(value = "货柜号")
    private String containerNo;

    @ApiModelProperty(value = "操作员")
    private String sysUser;

    @ApiModelProperty(value = "操作时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime sysDate;

    @ApiModelProperty(value = "海关编码")
    private String customsCode;
}
